package com.wnxy.mallserver.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Goods implements Serializable {
    private Integer id;
    private String name;
    private BigDecimal price;//涉及金钱的，都用BigDecimal
    private String image;
    private Integer cid;
    private Integer stock;
    private Integer salesnum;
    private String description;
    private LocalDateTime shelvestime;
    private String gtype;
    //商家id
    private Integer mid;
    private String state;
}
